1-First make sure you are logged in as an administrator.

2-Turn off UAC completely (it might interfere).
    *Open User Accounts by clicking the Start button Picture of the Start button, clicking Control Panel, clicking User Accounts and Family Safety (or clicking User Accounts, if you are connected to a network domain), and then clicking User Accounts.

    *Click Turn User Account Control on or off. Administrator permission required If you are prompted for an administrator password or confirmation, type the password or provide confirmation.

    *Select the Use User Account Control (UAC) to help protect your computer check box to turn on UAC, or clear the check box to turn off UAC, and then click OK.

OR 

See this 

http://www.howtogeek.com/howto/windows-vista/disable-user-account-control-uac-the-easy-way-on-windows-vista/


3-Run the takeownership reg file(in the takeownership folder).

You then have the option "take ownership" in your rightclick menu.

4-Now, to make it clear, only the file in system32 needs to be replaced.
Leave the other one as is...

5-Now rightclick explorerframe.dll (in system32) and choose take "ownership".

6-Now rightclick it again and rename it to explorerframe.dll.backup

7-Now copy/paste your custom explorerframe.dll to the folder and reboot.